﻿using System;
using System.Collections.Generic;
using Ayatta.Contract.Domain;
using PagedList;

namespace Web.Manage.Areas.Sys.Models
{
    public static class SlideControllerModel
    {
        public class Index
        {
            public string Title { get; set; }
            public int? Category { get; set; }
            public bool? Status { get; set; }
            public IPagedList<SlideCategory> Categories { get; set; }
        }
        public class Slides
        {
            public string Title { get; set; }
            public int? CategoryId { get; set; }
            public bool? Status { get; set; }
            public DateTime? StartTime { get; set; }
            public DateTime? EndTime { get; set; }
            public IPagedList<Slide> List { get; set; }
            public IList<SlideCategory> Categories { get; set; }

        }

        public class Detail
        {
            public bool Thumb { get; set; }
            public Slide Slide { get; set; }
            public IList<SlideCategory> Categories { get; set; }
        }
    }
}